<div class="am-offcanvas-bar admin-offcanvas-bar">
    <ul class="am-list admin-sidebar-list">
        <li><a th:href="@{/admin}"><span class="am-icon-home"></span> 首页</a></li>
        <li class="admin-parent">
            <a class="am-cf" data-am-collapse="{target: '#collapse-nav'}"><span class="am-icon-user"></span> 用户管理 <span
                    class="am-icon-angle-right am-fr am-margin-right"></span></a>
            <ul class="am-list am-collapse admin-sidebar-sub am-in" id="collapse-nav">
                <li><a th:href="@{/admin/users}"><span class="am-icon-users"></span> 用户列表</a></li>
                <li><a th:href="@{/admin/users/add}"><span class="am-icon-plus"></span> 添加用户</a></li>
            </ul>
        </li>
        <li class="admin-parent">
            <a class="am-cf" data-am-collapse="{target: '#collapse-nav'}"><span class="am-icon-user"></span> 图书管理 <span
                    class="am-icon-angle-right am-fr am-margin-right"></span></a>
            <ul class="am-list am-collapse admin-sidebar-sub am-in" id="collapse-nav">
                <li><a th:href="@{/admin/books}"><span class="am-icon-users"></span> 图书列表</a></li>
                <li><a th:href="@{/admin/books/add}"><span class="am-icon-plus"></span> 添加图书</a></li>
            </ul>
        </li>
    </ul>
</div>